i added two patterns
facebook.pat
and
youtube.pat
and added them in /etc/l7-protocols/l7index
but even after reboot they don't show in the gui.
Maybe because the changes don`t show in /rom/etc/l7-protocols/?
For youtube i created youtube.pat like this:
youtube
^.+(youtube).*$
Any hints how to get them to work?
I use:
Gargoyle version 1.6.1
Gargoyle revision 87ce626
OpenWrt Attitude Adjustment branch
OpenWrt revision r40423
New L7 Pattern don't show in GUI
Moderator: Moderators
Re: New L7 Pattern don't show in GUI
As far as I can understand you created youtube.pat and facebook.pat in /etc/l7-protocols directory. What lines did you add to l7index file?
Re: New L7 Pattern don't show in GUI
i edited l7index with vi and added
facebook and youtube.
#Gargoyle index file for Layer 7 patterns
#
#First word is the pattern name
#Remaining words are the descriptive equivalent that the user sees.
#
aim AIM
bittorrent BitTorrent
dns DNS
edonkey eDonkey
facebook
fasttrack FastTrack
ftp FTP
gnutella Gnutella
http HTTP
httpaudio HTTP Audio
httpvideo HTTP Video
ident Ident
imap IMAP E-Mail
irc IRC
jabber Jabber
msnmessenger MSN Messenger
......
like this
facebook and youtube.
#Gargoyle index file for Layer 7 patterns
#
#First word is the pattern name
#Remaining words are the descriptive equivalent that the user sees.
#
aim AIM
bittorrent BitTorrent
dns DNS
edonkey eDonkey
fasttrack FastTrack
ftp FTP
gnutella Gnutella
http HTTP
httpaudio HTTP Audio
httpvideo HTTP Video
ident Ident
imap IMAP E-Mail
irc IRC
jabber Jabber
msnmessenger MSN Messenger
......
like this
Re: New L7 Pattern don't show in GUI
You have to give them name in l7index file, like: facebook facebook, where second word is name, which you will see in Gargoyle GUI.
You don't have to reboot router to use new l7 protocols.
You don't have to reboot router to use new l7 protocols.
Re: New L7 Pattern don't show in GUI
i put it like that but it doesn`t show in the gui even after reboot:
#Gargoyle index file for Layer 7 patterns
#
#First word is the pattern name
#Remaining words are the descriptive equivalent that the user sees.
#
aim AIM
bittorrent BitTorrent
dns DNS
edonkey eDonkey
facebook FACEBOOK
fasttrack FastTrack
ftp FTP
gnutella Gnutella
http HTTP
httpaudio HTTP Audio
httpvideo HTTP Video
ident Ident
imap IMAP E-Mail
irc IRC
jabber Jabber
msnmessenger MSN Messenger
ntp NTP
pop3 POP3
rtp VoIP Audio
skypeout Skype Out Calls
skypetoskype Skype to Skype
smtp SMTP E-Mail
ssh SSH Secure Shell
ssl SSL Secure Socket
vnc VNC
youtube YOUTUBE
ls from /etc/l7-protocols shows:
aim.pat http.pat msnmessenger.pat ssh.pat
bittorrent.pat httpaudio.pat ntp.pat ssl.pat
dns.pat httpvideo.pat oniondns.pat telnet.pat
edonkey.pat ident.pat pop3.pat vnc.pat
facebook.pat imap.pat rtp.pat youtube.pat
fasttrack.pat irc.pat skypeout.pat
ftp.pat jabber.pat skypetoskype.pat
gnutella.pat l7index smtp.pat
#Gargoyle index file for Layer 7 patterns
#
#First word is the pattern name
#Remaining words are the descriptive equivalent that the user sees.
#
aim AIM
bittorrent BitTorrent
dns DNS
edonkey eDonkey
facebook FACEBOOK
fasttrack FastTrack
ftp FTP
gnutella Gnutella
http HTTP
httpaudio HTTP Audio
httpvideo HTTP Video
ident Ident
imap IMAP E-Mail
irc IRC
jabber Jabber
msnmessenger MSN Messenger
ntp NTP
pop3 POP3
rtp VoIP Audio
skypeout Skype Out Calls
skypetoskype Skype to Skype
smtp SMTP E-Mail
ssh SSH Secure Shell
ssl SSL Secure Socket
vnc VNC
youtube YOUTUBE
ls from /etc/l7-protocols shows:
aim.pat http.pat msnmessenger.pat ssh.pat
bittorrent.pat httpaudio.pat ntp.pat ssl.pat
dns.pat httpvideo.pat oniondns.pat telnet.pat
edonkey.pat ident.pat pop3.pat vnc.pat
facebook.pat imap.pat rtp.pat youtube.pat
fasttrack.pat irc.pat skypeout.pat
ftp.pat jabber.pat skypetoskype.pat
gnutella.pat l7index smtp.pat